package com.itheima.oop.d6_homework.practise01;

/**
 * 练习1 女朋友类
 */

//定义一个女朋友类 定义属性
public class GirlFriend {
    private String name;
    private double height;
    private double weight;

    //无参构造器
    public GirlFriend(){

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }
}
